data:
	mkdir --parents data

        # Download archive file
	wget --output-document data/grid.zip https://ndownloader.figshare.com/files/12904433
	
        # Extract everything end remove zip archive
	unzip -d data data/grid.zip

        # Remove everything in data/. Only keep Turtle file.
	find data/ -mindepth 1 -maxdepth 1 ! \( -name "*.ttl" \) -exec rm -rf {} \;

clean:
	rm -rf data/ *.nt *.hdt *.hdt.index.v*

.PHONY: clean
